package fr.umlv.ig.tests;

import javax.swing.JLabel;

public class MyMap {

	private final static int MAX_MARKERS = 1024;
	
	private int zoom;
	private double center_long;
	private double center_lat;
	private final String[] markers;
	private JLabel map;

	public MyMap(int zoom, double center_lat, double center_long){
		this.zoom = zoom;
		this.center_lat = center_lat;
		this.center_long = center_long;
		markers = new String[MAX_MARKERS];
		map = new JLabel("<html><img src=\"http://maps.googleapis.com/maps/api/staticmap?zoom="+zoom+"&center="+center_lat+","+center_long+"&size=640x640&sensor=false\"></html>");
	}
	
	public JLabel getMap(){
		return map;
	}
	
	
	
	
}
